package top.lfyao.designpattern.details.factory.simple;

/**
 * 减法类subtraction
 */
public class OperationSubtraction extends Operation {
    @Override
    public double result() {
        return numberA - numberB;
    }
}
